start

open fun start()

Starts or resumes the active operation of this control.

This typically involves starting content playback, animations, data fetching, or making the control visually active. If the control was previously #stop() stopped, this method should resume its operation. Calling start()} on an already started control should ideally be a no-op or handle resumption gracefully.

This method might be called automatically after #initialize(Module) if #isAutoStart() is true, or explicitly by the player system.

Starts the Flash content playback by loading the local HTML container page (file:///android_asset/container.html).

Before loading the container, this method checks if the SWF file (swf) is defined and exists. If not, an error is logged, and the method returns without attempting to load the Flash content.

The actual SWF loading is subsequently triggered by initJS once the container page finishes loading (handled by the WebViewClient).

See also

which should be called before this to set up swf and flashVars.

initJS()